<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <title>netnr</title>

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

    <meta name="keywords" content="netnr,NET牛人" />
    <meta name="description" content="netnr,NET牛人,Netnr Project">

    <style>
        .hide {
            display: none;
        }

        .github-corner svg {
            width: 80px;
            height: 80px;
        }

        .sidebar ul li p.active > a {
            border-right: 2px solid;
            font-weight: 600;
            color: #42b983;
        }
    </style>
</head>
<body>
    <div id="app">Loading ...</div>

    <!--SEO-->
    <div class="hide">
        {SEO}
    </div>

    <link href="https://cdn.jsdelivr.net/npm/netnrmd@2.6.0/src/netnrmd.min.css" rel="stylesheet" async />
    <script src="https://cdn.jsdelivr.net/npm/netnrmd@2.6.0/src/netnrmd.bundle.min.js" defer></script>

    <script>
        window.$docsify = {
            repo: 'netnr',
            noEmoji: true,
            auto2top: true,
            coverpage: ['/', '/zh-cn/'],
            loadNavbar: true,
            loadSidebar: true,
            relativePath: true,
            routerMode: 'history',
            markdown: {
                renderer: {
                    code: function (str, lang) {
                        var ch = [];
                        ch.push("<pre><code>");
                        try {
                            str = hljs.getLanguage(lang)
                                ? hljs.highlight(lang, str).value
                                : hljs.highlightAuto(str).value;
                            ch.push(str);
                        } catch (__) {
                            ch.push(str);
                        }
                        ch.push("</code></pre>");
                        return ch.join('');
                    }
                }
            },

            search: {
                placeholder: {
                    '/zh-cn/': '搜索',
                    '/': 'Type to search'
                },
                noData: {
                    '/zh-cn/': '找不到结果',
                    '/': 'No Results'
                },
                depth: 6,
            }
        };

        function get(url, success) {
            var xhr = new XMLHttpRequest();
            xhr.open('GET', url, true);
            xhr.send();
            xhr.onreadystatechange = function () {
                if (xhr.readyState == 4 && xhr.status == 200) {
                    success(xhr.responseText)
                }
            };
        }

        get('https://cdn.jsdelivr.net/npm/docsify@4.11.6/lib/themes/vue.css', function (res) {
            var ele = document.createElement("STYLE");
            ele.innerHTML = "*" + res.split(';*')[1];
            document.getElementsByTagName("HEAD")[0].appendChild(ele);
        })
    </script>

    <script src="https://cdn.jsdelivr.net/npm/docsify@4.11.6/lib/docsify.min.js" defer></script>
    <script src="https://cdn.jsdelivr.net/npm/docsify@4.11.6/lib/plugins/search.min.js" defer></script>
</body>
</html>
